package com.sanri.test.quartz;

import org.apache.commons.lang3.time.DateFormatUtils;
import org.quartz.*;

@DisallowConcurrentExecution
public class SimpleJob implements Job {
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println(this+"触发时间:"+ DateFormatUtils.ISO_DATETIME_FORMAT.format(System.currentTimeMillis()));
    }
}
